package com.financing.platform.service.impl;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.financing.platform.dao.IFpUserFeedBackDao;
import com.financing.platform.dto.UserFeedBackDTO;
import com.financing.platform.service.IFpUserFeedBackService;
import com.financing.platform.util.SqlName;

/**
 * 
 * @ClassName: FpUserFeedBackServiceImpl
 * @Description: 用户反馈意见 
 * @author  qiye
 * @date 2014年11月12日 下午5:24:53
 *
 */
@Service("fpUserFeedBackServiceImpl")
@Transactional
public class FpUserFeedBackServiceImpl extends BaseServiceImpl implements IFpUserFeedBackService {

	@Autowired
	private IFpUserFeedBackDao fpUserFeedBackDaoImpl;
	
	public List<UserFeedBackDTO> userFeedBackList() throws SQLException {
		return fpUserFeedBackDaoImpl.userFeedBackList();
	}
	
	public List<UserFeedBackDTO> userFeedBackList(UserFeedBackDTO userFeedBackDTO) throws SQLException {
		return fpUserFeedBackDaoImpl.userFeedBackList(userFeedBackDTO);
	}

	public int userFeedBackListCount() throws SQLException {
		return fpUserFeedBackDaoImpl.userFeedBackListCount();
	}

	public int updateUserFeedBack(UserFeedBackDTO userFeedBackDTO)
			throws SQLException {
		return fpUserFeedBackDaoImpl.updateUserFeedBack(userFeedBackDTO);
	}

	
}
